package com.hzhc.service.impl;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.hzhc.entity.DpHarborWork;
import com.hzhc.mapper.DpHarborWorkMapper;
import com.hzhc.service.DpHarborWorkService;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * <p>
 * 港口当天作业量 服务实现类
 * </p>
 *
 * @author 功不唐捐
 * @since 2024-09-25
 */
@Service
public class DpHarborWorkServiceImpl extends ServiceImpl<DpHarborWorkMapper, DpHarborWork> implements DpHarborWorkService {

    @Override
    public List<DpHarborWork> getDpHarborWork(DpHarborWork dpHarborWork) {
        return baseMapper.selectList(new QueryWrapper<DpHarborWork>().eq("disable",0));
    }
}
